package com.cn.steam.foundation.common.model.exception;


import com.cn.steam.foundation.common.utils.Op;

/**
 * 用于抛出系统无法处理的异常，需要人工排查原因
 * @author huangzz
 */
public class AvoidLessException extends RuntimeException{

    private static final String MSG = "未知原因导致{},请联系技术人员。";

    public AvoidLessException(AvoidLessCause cause, Throwable throwable){
        super(Op.str(MSG, cause.name()), throwable);
    }

    public static enum AvoidLessCause{
        加解密失败
    }
}
